PointFacQuery Object
The PointFacQuery object is used to setup and execute point/fac filtering queries for the PNT and FAC services. Within the calling script, the basic sequence of operations is as follows:
- Create the point/fac filter object
- Set the periodic update interval
- Set the site/services
- Set the point and fac filters
- Set the notification point
- Start point/fac filtering
- Wait for query completion notification
- Retrieve a list of points
- Clear query results to prepare for a new query
The query object works as an asynchronous thread so that a query can be initiated at one time, and the results obtained at a later time. Once the object starts the query engine, it will run continuously until the calling script cancels the filtering. The periodic update interval defines the interval at which the query engine will execute the search for new data.
The PointFacQuery object is very similar to the AlarmQuery object in setup, execution, and retrieval of results. Differences are as follows:
- This query accepts two filters: point filter and facility filter.
- Start and end times do not apply.
Declare the object using the following code:
|
CreateObject("CxEventIf.PointFacQuery") |
Each documented method will assume you have declared the PointFacQuery object using the following code:
|
Dim PointFacQuery Set PointFacQuery = CreateObject("CxEventIf.PointFacQuery") |
More:


